<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="servletform" style="align-items: center" method="post">
        用户姓名：<input type="text" name="username"> <br/>
        登录密码：<input type="password" name="password"> <br/>
        兴趣爱好：<input type="checkbox" name="chose" value="java"> java
                <input type="checkbox" name="chose" value="c++"> c++
                <input type="checkbox" name="chose" value="python"> python <br/>
                <input type="submit">
    </form>
</body>
</html>